let ints = new Int16Array(10);
console.log(
  ints
    .fill(3)
    .map((x) => x * x)
    .toString()
); // 9,9,9,9,9,9,9,9,9,9
